package com.example.api.mapper;

import com.example.api.model.entity.Warehouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface WarehouseMapper {
    
    void insert(Warehouse warehouse);
    
    void update(Warehouse warehouse);
    
    void deleteById(@Param("id") String id);
    
    Warehouse findById(@Param("id") String id);
    
    List<Warehouse> findAll();
}
